package edu.bu.met683.TravelDroid.data;
import java.util.Comparator;

public class SortByProximity implements Comparator<Tour> 
{
	public int compare(Tour object1, Tour object2) 
	{
		int distance = (int)(object1.getProximity() - object2.getProximity());
		return distance;
	}
}
